package com.yimaxiaoerlang.http;

//网络类型
enum NetType {

    NETWORK_NONE(-1),//无网络
    NETWORK_MOBILE(0), //移动网络
    NETWORK_WIFI(1);//wifi

    private int code;

    NetType(int i) {
        this.code = i;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
